home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8206 / 8206.xpi / content / preview.xul < prev    next >
Extensible Markup Language  |  2010-02-02  |  3KB  |  53 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE window SYSTEM "chrome://wisestamp/locale/wisestamp.dtd">
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://wisestamp/skin/options.css" type="text/css"?>
  6. <window id="yourapplication_window"
  7.         windowtype="YourApplication"
  8.         title="&preview.title;"
  9.         xmlns:html="http://www.w3.org/1999/xhtml"
  10.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         onload="load()"
  13.         >
  14.     <script type="application/x-javascript" src="chrome://wisestamp/content/prefs.js"/>
  15.     <script type="application/x-javascript" src="chrome://wisestamp/content/utils.js"/>
  16.     <script type="application/x-javascript" src="chrome://wisestamp/content/comm.js"/>
  17.     
  18.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/joint.js"/>
  19.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/WiseStampSprintf.js"/>
  20.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/request.js"/>
  21.  
  22.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.js"/>
  23.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.js"/>
  24.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.item.js"/>
  25.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.filter.js"/>
  26.     
  27.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/post.formatter.js"/>
  28.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/feed.wrapper.js"/>
  29.     
  30.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/xmlrpc.js"/>
  31.     <script type="application/x-javascript" src="chrome://wisestamp/content/appspecific.js"/>
  32.     <script type="application/x-javascript" src="chrome://wisestamp/content/signatureFactory.js"/>
  33.     <script>
  34.         var wisestamppreview=true;
  35.         function load(){
  36.           var f = document.getElementById("iTest");
  37.           setTimeout(function(){
  38.             f.contentDocument.body.innerHTML =
  39.             WisestampSignatureFactory.createSignature(window.arguments?window.arguments[0]:null);
  40.           },0);
  41.         }
  42.     </script>
  43.   
  44.     <hbox collapsed="true">
  45.         <checkbox id="wisestamp-type-personal" label="personal"/>
  46.         <checkbox id="wisestamp-type-business" label="business"/>
  47.         <checkbox id="wisestamp-type-none" label="none"/>
  48.     </hbox>
  49.         <editor id="iTest" src="chrome://wisestamp/content/blank.html" flex="1" style="background-color: white; margin: 10px"/>
  50.         <hbox pack="center" align="center">
  51.         <button label="&preview.close;" oncommand="window.close()"/>
  52.     </hbox>
  53. </window>